package com.lmb.todo.pojo;

/**
 * @author hero
 */
public class RegisterBody extends User {

    private String dPassword;

    public RegisterBody() {}

    public RegisterBody(String username, String password, String createTime, String updateTime, String nikeName, String realName, String phone, String country, String national, String address, String hobby, String job, String email, String signature, String dPassword) {
        super(username, password, createTime, updateTime, nikeName, realName, phone, country, national, address, hobby, job, email, signature);
        this.dPassword = dPassword;
    }

    public RegisterBody(Integer id, String username, String password, String createTime, String updateTime, String nikeName, String realName, String phone, String country, String national, String address, String hobby, String job, String email, String signature, String dPassword) {
        super(id, username, password, createTime, updateTime, nikeName, realName, phone, country, national, address, hobby, job, email, signature);
        this.dPassword = dPassword;
    }

    public String getdPassword() {
        return dPassword;
    }

    public void setdPassword(String dPassword) {
        this.dPassword = dPassword;
    }

    @Override
    public String toString() {
        return "RegisterBody{" +
                "dPassword='" + dPassword + '\'' +
                '}';
    }

}
